package c.a.a.b0.k;

import c.a.a.b0.l.b;
import c.a.a.l;
import c.a.a.z.b.c;

/* compiled from: MergePaths */
public class h implements b {
    public final String a;
    public final a b;
    public final boolean c;

    /* compiled from: MergePaths */
    public enum a {
        MERGE,
        ADD,
        SUBTRACT,
        INTERSECT,
        EXCLUDE_INTERSECTIONS
    }

    public h(String str, a aVar, boolean z) {
        this.a = str;
        this.b = aVar;
        this.c = z;
    }

    public c a(l lVar, b bVar) {
        if (lVar.n) {
            return new c.a.a.z.b.l(this);
        }
        c.a.a.e0.c.b("Animation contains merge paths but they are disabled.");
        return null;
    }

    public String toString() {
        StringBuilder g = c.b.a.a.a.g("MergePaths{mode=");
        g.append(this.b);
        g.append('}');
        return g.toString();
    }
}
